body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

input:focus,
textarea:focus {
    outline: none;
}

html,
body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-size: .22rem;
    color: #222;
    font-family: Verdana, Microsoft YaHei, Simsun;
    line-height: 1.2;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    user-select: none;
    box-sizing: border-box;
    min-height: 100vh;
}

fieldset,
img {
    border: 0;
}

ol,
ul {
    list-style: none;
}

li {
    list-style-type: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}

em {
    font-style: normal;
}

input,
button,
select,
textarea {
    outline: none;
    -webkit-appearance: none;
    border-radius: 0;
}

button {
    &:active {
        opacity: .9;
    }

    &:disabled {
        opacity: .8;
    }
}

textarea {
    resize: none;
}

a {
    color: #000000;
    text-decoration: none;

    &:hover {
        text-decoration: none;
    }
}

.bg {
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    padding-bottom: .2rem;
}

.rule-box {
    position: absolute;
    width: .46rem;
    padding: 0.14rem;
    box-sizing: border-box;
    right: 0;
    top: 4rem;
    background: #fefb0b;
    color: #b06f0e;
    overflow: hidden;
    text-align: center;
    font-size: .22rem;
    border-top-left-radius: .1rem;
    border-bottom-left-radius: .1rem;
    word-wrap: break-word;
    word-break: break-all;
    letter-spacing: 3px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    z-index: 10;

    &.r2 {
        top: 5.5rem;
    }
}

.mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.7);
}

#alert,
#listAlert {
    position: relative;
    z-index: 11;
}

.alert-box {
    display: none;
    position: fixed;
    left: 0.2rem;
    right: 0rem;
    top: 20%;
    border-radius: .34rem;
    background-color: #fff;
    background-size: 100% 100%;
    box-sizing: border-box;
    padding: 0.2rem 1.2rem;
    z-index: 50;
    background: url("https://static.vipgogo.com/kxf/chinaBank/doubleEleven/img/bigDialgetPrizeBg.png") no-repeat;
    background-size: 100% 100%;

    .a-hd {
        padding: .4rem;
        font-size: .34rem;
        text-align: center;

        .title {
            display: inline-block;
            color: #333333;
            position: relative;
            font-size: .34rem;
            font-weight: 800;
        }
    }

    .a-bd {
        font-size: .28rem;
        padding-bottom: 0.2rem;

        .img {
            height: 4rem;
            width: 4rem;
            display: block;
            margin: 0 auto;
            margin-top: -1.1rem;
            margin-bottom: -0.5rem;
        }

        p {
            color: #606060;
            padding: .1rem 0;
            font-size: .28rem;
            font-weight: 800;
        }

        .tips-text {
            font-size: 0.16rem;
            font-weight: 400;
            color: #1E2941;
            line-height: 0.24rem;
        }

        .submit {
            border: none;
            display: block;
            width: 3.15rem;
            height: 0.6rem;
            background: linear-gradient(180deg, #B481E8 0%, #FEE3B8 0%, #FEB169 99%);
            color: #D70007;
            border-radius: 0.3rem;
            font-size: 0.28rem;
            margin: 0.6rem auto;

        }
    }

    .title {
        font-size: .54rem;
        text-align: center;
        font-weight: 500;
    }

    .a-fd {
        padding-top: .4rem;
        padding-bottom: .2rem;
        position: relative;

        text-align: center;

        h1 {

            font-size: 0.51rem;
            font-weight: bold;
            color: #FCECCE;
            text-shadow: 1px 3px 5px rgba(0, 0, 0, 0.71);
        }
    }

    .alert-btn {
        border: none;
        display: block;
        width: 4.25rem;
        height: .84rem;
        background: linear-gradient(90deg, #5d9bf6 0%, #5dc2f6 100%);
        box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.5);
        color: #fff;
        text-align: center;
        font-size: .32rem;
        line-height: .7rem;
        margin: 0 auto;
        overflow: hidden;
        border-radius: .42rem;

        &.disabled {
            opacity: .5;
        }
    }

    .clear {
        position: absolute;
        left: 50%;
        bottom: -1.6rem;
        width: 0.4rem;
        height: 1.4rem;
        margin-left: -0.2rem;
        background: url('https://static.vipgogo.com/kxf/chinaBank/doubleEleven/prizeDetailList/closeBtn.png') no-repeat;
        background-size: 100% 100%;
    }
}

.lw {
    background: url('../images/icon-lw.png') no-repeat;
    background-size: 100% 100%;
}

.gz {
    background: url('../images/icon-gz.png') no-repeat;
    background-size: 100% 100%;
}

.icon {
    display: block;
    width: .24rem;
    height: .24rem;
    margin-right: .1rem;
}

.input-box {
    width: 100%;
    height: .6rem;
    border-radius: .1rem;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: .2rem;
    border: 1px solid #1E2941;
    display: flex;

    .label {
        width: 1.5rem;
        line-height: .6rem;
        text-align: center;
    }

    input {
        border: none;
        width: 100%;
        line-height: .6rem;
        background-color: #f8f8f8;
        padding-left: .2rem;
        font-size: .28rem;
        flex: 1;
    }
}

#toast {
    position: fixed;
    top: 40%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;

    .toast-box {
        display: inline-block;
        padding: .1rem .3rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 80%;
        background-color: rgba(50, 50, 51, 0.88);
        text-align: center;
        border-radius: .1rem;
        color: #ffffff;
        overflow: hidden;
        word-break: break-all;
        font-size: .3rem;
    }
}

#rule {
    padding: .3rem;
    padding-bottom: none;
    position: relative;
    background-color: #68a2f6;

    .rule-content {
        border-radius: .1rem;
        min-height: 100%;
        box-sizing: border-box;
        padding: 0 .2rem;
        background-color: #fff;

        .r-hd {
            padding: .05rem;
            text-align: center;

            .title {
                text-align: center;
                font-weight: 800;
                color: #3e76d2;

                span {
                    font-size: .24rem;
                }

                .title-content {
                    display: inline-block;
                    position: relative;
                    font-size: .34rem;

                    &::before {
                        content: '';
                        display: block;
                        width: 100%;
                        height: .12rem;
                        position: absolute;
                        left: 0;
                        bottom: 0;
                        background-color: #3e76d2;
                        opacity: .2;
                        margin-top: -0.06rem;
                    }
                }
            }
        }

        .r-bd {
            .text {
                padding: .14rem 0;

                .dot {
                    width: .24rem;
                    height: .24rem;
                    color: #fff;
                    text-align: center;
                    font-size: .14rem;
                    background: #8cb7f6;
                    border-radius: 50%;
                    display: inline-block;
                }
            }

            h3 {
                width: 1.56rem;
                height: .44rem;
                line-height: .44rem;
                border-top-right-radius: .22rem;
                border-bottom-right-radius: .22rem;
                background: #3986f6;
                font-size: .28rem;
                font-weight: 800;
                color: #ffffff;
                text-align: center;
            }

            p {
                padding: .1rem;
                font-size: .26rem;
                word-wrap: break-word;
                word-break: normal;
                letter-spacing: 1px;
            }
        }
    }
}


.header {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    height: 44px;
    background-color: #fff;
    color: #222;
    padding: 0 40px;
    text-align: center;
    line-height: 44px;
    font-size: 18px;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    z-index: 2020;

    .h-left {
        cursor: pointer;
        position: absolute;
        left: 0;
        left: 0.2rem;
        height: 100%;
        display: flex;
        align-items: center;

        .icon {
            height: 20px;
            width: 25px;
        }

        .title {
            font-size: 18px;
        }
    }

    .h-right {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;

        .icon {
            height: 20px;
            width: 20px;
        }

        .title {
            font-size: 18px;
        }
    }

    .back {
        background: url("../images/back.png") no-repeat;
        background-size: 100% 100%;
    }

    .share {
        background: url("../images/share.png") no-repeat;
        background-size: 100% 100%;
    }
}

.yzm {
    display: flex;

    input {
        width: 60%;
        border-radius: .36rem;
    }

    .yzm-btn {
        border-radius: .35rem;
        width: 35%;
        margin-left: 5%;
        border: none;
        background: linear-gradient(90deg, #5d9bf6 0%, #5dc2f6 100%);
        color: #fff;
        font-size: .24rem;

        &:disabled {
            opacity: .5;
        }

        &:active {
            opacity: .7;
        }

        &.no {
            background: linear-gradient(0deg, #a5a5a5 12%, #d2d2d2 100%);
        }
    }
}

.error-text {
    padding: .2rem;
    color: #f20000;
}

.alert-box .a-bd {
    .tips-text {
        font-size: 0.16rem;
        color: #1E2941;
        text-align: center;
    }
}


.alert-box .a-fd {
    .submit {
        border: none;
        width: 4rem;
        height: 0.6rem;
        background: linear-gradient(180deg, #B481E8 0%, #FEE3B8 0%, #FEB169 99%);
        border-radius: 0.3rem;
        color: #d70007;
    }
}



.alert-box .a-hd {
    .title {
        font-size: 0.29rem;
        color: #ff1c14;

        &::before,
        &::after {
            content: "";
            display: block;
            position: absolute;
            width: 0.8rem;
            height: .06rem;
            top: 50%;
            margin-top: -0.03rem;
            background: url("https://static.vipgogo.com/kxf/chinaBank/doubleEleven/img/rightLine.png") no-repeat;
            background-size: 100% 100%;
        }

        &::before {
            left: -0.8rem;
        }

        &::after {
            right: -0.8rem;
            transform: rotate(180deg);
        }
    }
}

.from {
    position: relative;
}